I have a gun port cut into the hull of the ship. The port was created by
differencing a box from the hull. The box was created along the z axis and
is 900mm wide (+450 and -450 on the x axis). The box was then rotated 15
degrees on the y axis and translated to <12350,0,0>.
I need to use the trace function to locate the points on the hull that are
451mm either side of the center of the gunport opening.
1. What is the math involved in determining the angle from the z axis to the
points on either side of the opening? Do I shoot a trace at the center
first to determine the distance from <12350,0,0,0> to the center and then
use C2 = A2 + B2 and trig to figure the angles to the points on either
side?
2. Once I have the angle, how do I convert it to a vector that I can use in
trace?
Thanks,
Tim
Post a reply to this message
Attachments:
Download 'math_help.jpg' (18 KB)
Preview of image 'math_help.jpg'
|